package com.ccc.dingtalk.service.dingtalk.impl;

import com.ccc.dingtalk.service.dingtalk.TokenService;
import com.ccc.dingtalk.util.DingtalkUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author superC
 * @version 1.0.0
 * @date 2023-08-09
 */

@Service
public class TokenServiceImpl implements TokenService {

    @Autowired
    private DingtalkUtil dingtalkUtil;

    @Override
    public String getAccessToken() throws Exception {
        return dingtalkUtil.getAccessToken();
    }
}
